package cfca.seal.dao.main;

import cfca.seal.bean.Seal;
import cfca.seal.bean.User;
import cfca.seal.common.Page;
import java.util.List;

public abstract interface IUserDao
{
  public abstract boolean insert(User paramUser)
    throws Exception;

  public abstract boolean update(User paramUser)
    throws Exception;

  public abstract boolean deleteById(String paramString)
    throws Exception;

  public abstract User getUserById(String paramString)
    throws Exception;

  public abstract User getUserByDN(String paramString)
    throws Exception;

  public abstract List<User> getAll(String paramString)
    throws Exception;

  public abstract List<User> getBindUser(String paramString)
    throws Exception;

  public abstract boolean isBinding(String paramString1, String paramString2)
    throws Exception;

  public abstract Page<User> getPage(User paramUser, String paramString1, String paramString2)
    throws Exception;

  public abstract List<Seal> getBindedSeals(String paramString)
    throws Exception;

  public abstract List<User> getUserByCertDnAndCertSn(String paramString1, String paramString2)
    throws Exception;

  public abstract List<User> getUserByCertSn(String paramString)
    throws Exception;

  public abstract User getUserByName(String paramString)
    throws Exception;

  public abstract List<User> getUserByCertSnForUpdate(String paramString1, String paramString2)
    throws Exception;
}